projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4ae491
)
window: Return no item for no item name
author
Benjamin Otte
<otte@redhat.com>
Wed, 27 Feb 2019 06:29:57 +0000
(07:29 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 27 Feb 2019 07:53:33 +0000
(08:53 +0100)
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index ae36f5f0921c739e0eefb057a2ce5dcbc217571f..600e96e515a330d4057f1eae0a03b421bfd9eddc 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-4620,6
+4620,8
@@
gtk_window_get_icon_for_size (GtkWindow *window,
if (!name)
name = default_icon_name;
+ if (!name)
+ return NULL;
info = gtk_icon_theme_lookup_icon (gtk_icon_theme_get_default (),
name, size,